//
//  HTCommentBoardCell.m
//  TruckDriver
//
//  Created by Ting Han on 2017/10/25.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "HTCommentBoardCell.h"

@interface HTCommentBoardCell()

@end


@implementation HTCommentBoardCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius  = 4;
    self.layer.borderWidth = .5f;
    self.layer.borderColor = [UIColor lightGrayColor].CGColor;
    
}
- (void)setIsChosed:(BOOL)isChosed{
    _isChosed = isChosed;
    if (isChosed) {
        self.backgroundColor = kBlueColor;
        self.layer.borderColor = kBlueColor.CGColor;
        self.iconLabel.textColor = [UIColor whiteColor];
    }else{
        self.backgroundColor = [UIColor whiteColor];
        self.layer.borderColor = [UIColor lightGrayColor].CGColor;
        self.iconLabel.textColor = [UIColor blackColor];
    }
}

@end
